<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<link rel="stylesheet" href="__VIEW__/css/login.css" />
	<script src="__STATIC__/js/jquery-1.7.2.min.js"></script>
	<link rel="stylesheet" href="__STATIC__/css/hdjs.css" />
	<script src="__STATIC__/js/hdjs.min.js"></script>
	<title>后台登陆</title>
</head>
<body>
	<div id="login">
		<div class="logo"></div>
		<form action="{|U:adminLogin}" method="POST" id="loginForm">
			
				<input type="text" name="adminuser" placeholder="请输入用户名" class="email"/>
				<div class="msgs" id="hd_adminuser">
					<div class="upArrow">
					</div>
					
				</div>
				<input type="password" name="password" placeholder="请输入密码" class="pwd"/>
				<div class="msgs pos1">
					<div class="upArrow" id="hd_password">
					</div>
					
				</div>
				<input type="text" name="code"  class="pwd code" placeholder="请输入验证码" /><img src="{|U:'code'}" alt="" id="code" />
				<div class="msgs pos2" id="hd_code">
					<div class="upArrow">
					</div>
					
				</div>
				<input type="submit" class="btn" value="登 陆" />
		</form>
	</div>
	<script>
		var APP = '__CONTROLLER__/code';
		$('#code').click(function(){
			var random = Math.random(); // 一个随机数
			$(this).attr('src',APP+'?random='+random);
		});
	</script>
</body>
</html>